How to process file content differently for each line using shell script

welcome to shbcf.ru